/*
 * BSPConstants.as
 *
 * Copyright (C) 2011 - Dr.NP
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <http://www.gnu.org/licenses/>.
 */

 /**
  *
  * @package org.bsgroup.bsp.inc
  * @author Dr.NP <np@bsgroup.org>
  * @update 05/06/2013
  * @changelog 
  *		[05/06/2013] - Creation
  */

package org.bsgroup.bsp.inc
{
	public class BSPConstants
	{
		public static const CLIENT_TYPE_RAW					: uint = 0x0;
		public static const CLIENT_TYPE_WEBSOCKET_HANDSHAKE	: uint = 0x1;
		public static const CLIENT_TYPE_WEBSOCKET_DATA		: uint = 0x2;
		public static const DATA_TYPE_STREAM				: uint = 0x0;
		public static const DATA_TYPE_PACKET				: uint = 0x1;
		public static const PACKET_MARK_32B					: uint = 0x0;
		public static const PACKET_MARK_64B					: uint = 0x1;
		public static const PACKET_TYPE_REP					: uint = 0x0;
		public static const PACKET_TYPE_RAW					: uint = 0x1;
		public static const PACKET_TYPE_OBJ					: uint = 0x2;
		public static const PACKET_TYPE_CMD					: uint = 0x3;
		public static const PACKET_TYPE_HEARTBEAT			: uint = 0x7;
		public static const COMPRESS_TYPE_NONE				: uint = 0x0;
		public static const COMPRESS_TYPE_DEFLATE			: uint = 0x1;
		public static const COMPRESS_TYPE_LZO				: uint = 0x2;
		public static const COMPRESS_TYPE_SNAPPY			: uint = 0x3;
		
		public function BSPConstants() : void
		{
			return;
		}
	}
}
